<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2022/3/5
 * Time: 9:54
 */
namespace app\api\controller;
use app\common\controller\Api;
use fast\Random;
use think\Validate;
class Login extends Api
{
    protected $noNeedLogin = ['mobilelogin'];
    protected $noNeedRight = '*';


    /**
     * 修改资料
     */
    public function information_edit()
    {
        if (!Request::instance()->isPost())
            $this->error('请求方式不正确');

        if(!$nickname=  input('post.nickname'))
        {
            $this->error('缺少参数');
        }

        $old_password = input('post.old_password');
        if($old_password)
        {

        }

    }
}